#include"searcher.hpp"

const std::string input = "data/raw_html/raw.txt";

int main()
{
    Searcher::searcher * _searcher = new Searcher::searcher();
    _searcher->InitSearcher(input);


    std::string _query;
    std::string _json_string;
    while(1)
    {
        std::cout << "please input:";
        std::getline(std::cin,_query);
        _searcher->Search(_query,&_json_string);
        std::cout << _json_string << std::endl;
    }
    return 0;
}